package com.nanhai.buddhist.college.module.collegebase.convert.classroomcategory;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.classroomcategory.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.classroomcategory.ClassroomCategoryDO;

/**
 * 教室分类 Convert
 *
 * @author 南海佛学院
 */
@Mapper
public interface ClassroomCategoryConvert {

    ClassroomCategoryConvert INSTANCE = Mappers.getMapper(ClassroomCategoryConvert.class);

    ClassroomCategoryDO convert(ClassroomCategoryCreateReqVO bean);

    ClassroomCategoryDO convert(ClassroomCategoryUpdateReqVO bean);

    ClassroomCategoryRespVO convert(ClassroomCategoryDO bean);

    List<ClassroomCategoryRespVO> convertList(List<ClassroomCategoryDO> list);

    PageResult<ClassroomCategoryRespVO> convertPage(PageResult<ClassroomCategoryDO> page);

    List<ClassroomCategoryExcelVO> convertList02(List<ClassroomCategoryDO> list);

}
